
let viewModule = process.env.VUE_APP_VIEW_MODULE

export default [
	// {
	// 	path: '*',
	// 	redirect: "/get-config",
	// },
	// {
	// 	path: '/get-config',
	// 	component: () => import(`@/views/index/get-config`),
	// 	meta: {
	// 		title: '首页',
	// 	},
	// },

	{
		path: '/index',
		component: () => import(`@/views/index/index`),
		meta: {
			title: '首页',
		},
	},

	{
		path: '/verify',
		component: () => import(`@/views/layout/index`),
		children: [
			{
				path: 'choose-verify',
				component: () => import(`@/views/index/choose-verify`),
				meta: {
					title: '核身方式选择',
				},
			},
			{
				path: 'index',
				component: () => import(`@/views/index/verify`),
				meta: {
					title: '核身',
				},
			},
			{
				path: 'confirm',
				component: () => import(`@/views/index/confirm`),
				// meta: {
				// 	title: '确认',
				// },
			},
		]

	},
	{
		path: '/record',
		name: 'record',
		component: () => import(`@/views/layout/index`),
		children: [
			{
				path: 'index',
				name: 'index',
				component: () => import(`@/views/index/record`),
				meta: {
					title: '认证记录',
				},
			},
			{
				path: 'result',
				name: 'result',
				component: () => import(`@/views/index/result`),
				meta: {
					// title: '认证记录',
				},
			},
		]

	},
	{
		path: '/setting',
		component: () => import(`@/views/index/setting`),
		meta: {
			title: '配置页面',
		},
	},
]
